Optimal. Leaf size=77 \[ \frac{b x^2 \sqrt{a^2+2 a b x^3+b^2 x^6}}{2 \left (a+b x^3\right )}-\frac{a \sqrt{a^2+2 a b x^3+b^2 x^6}}{x \left (a+b x^3\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.021185, antiderivative size = 77, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077, Rules used = {1355, 14} \[ \frac{b x^2 \sqrt{a^2+2 a b x^3+b^2 x^6}}{2 \left (a+b x^3\right )}-\frac{a \sqrt{a^2+2 a b x^3+b^2 x^6}}{x \left (a+b x^3\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1355
Rule 14
Rubi steps
\begin{align*} \int \frac{\sqrt{a^2+2 a b x^3+b^2 x^6}}{x^2} \, dx &=\frac{\sqrt{a^2+2 a b x^3+b^2 x^6} \int \frac{a b+b^2 x^3}{x^2} \, dx}{a b+b^2 x^3}\\ &=\frac{\sqrt{a^2+2 a b x^3+b^2 x^6} \int \left (\frac{a b}{x^2}+b^2 x\right ) \, dx}{a b+b^2 x^3}\\ &=-\frac{a \sqrt{a^2+2 a b x^3+b^2 x^6}}{x \left (a+b x^3\right )}+\frac{b x^2 \sqrt{a^2+2 a b x^3+b^2 x^6}}{2 \left (a+b x^3\right )}\\ \end{align*}
Mathematica [A] time = 0.0103088, size = 38, normalized size = 0.49 \[ \frac{\left (b x^3-2 a\right ) \sqrt{\left (a+b x^3\right )^2}}{2 x \left (a+b x^3\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.003, size = 36, normalized size = 0.5 \begin{align*} -{\frac{-b{x}^{3}+2\,a}{2\,x \left ( b{x}^{3}+a \right ) }\sqrt{ \left ( b{x}^{3}+a \right ) ^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.01067, size = 19, normalized size = 0.25 \begin{align*} \frac{b x^{3} - 2 \, a}{2 \, x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.77874, size = 28, normalized size = 0.36 \begin{align*} \frac{b x^{3} - 2 \, a}{2 \, x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.266181, size = 8, normalized size = 0.1 \begin{align*} - \frac{a}{x} + \frac{b x^{2}}{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.11263, size = 39, normalized size = 0.51 \begin{align*} \frac{1}{2} \, b x^{2} \mathrm{sgn}\left (b x^{3} + a\right ) - \frac{a \mathrm{sgn}\left (b x^{3} + a\right )}{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]